package com.powernode.vo;

import com.powernode.domain.UserAddr;
import com.powernode.model.ShopOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * 内容:
 * 作者: cy
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("订单确认对象")
public class OrderVo {

    @ApiModelProperty("收货地址对象")
    private UserAddr userAddr;

    @ApiModelProperty("店铺集合")
    private List<ShopOrder> shopCartOrders;

    @ApiModelProperty("备注")
    private String remarks;

    @ApiModelProperty("商品总数量")
    private Integer totalCount = 0;

    @ApiModelProperty("总金额")
    private BigDecimal totalMoney = BigDecimal.ZERO;

    @ApiModelProperty("实际金额")
    private BigDecimal actualTotal = BigDecimal.ZERO;

    @ApiModelProperty("运费")
    private BigDecimal transfee = BigDecimal.ZERO;

    @ApiModelProperty("商城优惠")
    private BigDecimal shopReduce = BigDecimal.ZERO;


}
